﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MathNet.Numerics;

namespace k_mean_clustering
{
    class Program
    {
        static void Main(string[] args)
        {
            Data data1 = new SimulatedUniform(10000,100, 0, 3);
            Data data2 = new SimulatedUniform(10000,100, 2, 3);


            int[] Centroids = new int[] { 2500, 12500, 5000};
            Data data = new Data();
             
            data = Data.merge(data1, data2);

            ClusteringMonoThreaded cluster1 = new ClusteringMonoThreaded(data, 3, Centroids);
            //cluster1.ClusteringSummary();
            Console.WriteLine(cluster1.ComputationTime);

            ClusteringMultiThreaded cluster2 = new ClusteringMultiThreaded(data, 2, Centroids);
            //cluster2.ClusteringSummary();
            Console.WriteLine(cluster2.ComputationTime);
        }
    }
}
  